public class test1 {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.add(1,5);
        myArrayList.add(-1,5);
        myArrayList.remove(6);
        myArrayList.display();

        System.out.println("______________");
        myArrayList.clear();
        myArrayList.display();

    }
    public static void main2(String[] args) {
        int a = 10;
        Integer n = Integer.valueOf(a);
        Integer m = 10;
    }
    public static void main1(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);

        Integer c = 200;
        Integer d = 200;
        System.out.println(c == d);
    }
}
